home *** CD-ROM | disk | FTP | other *** search
- Path: news.sni.de!news
- From: Josef Moellers <mollers.pad@sni.de>
- Newsgroups: comp.lang.c
- Subject: Re: Are libraries Compiler dependent?
- Date: 16 Jan 1996 07:29:52 GMT
- Organization: Siemens Nixdorf Informationssysteme AG, Paderborn, Germany
- Message-ID: <4dfk5g$jpd@nervous.pdb.sni.de>
- References: <rmhanson.82.30FAD0B2@students.wisc.edu>
- NNTP-Posting-Host: uranium.pdb.sni.de
- X-Newsreader: NN version 6.5.0 #2
-
- In <rmhanson.82.30FAD0B2@students.wisc.edu> rmhanson@students.wisc.edu (ryan m hanson) writes:
-
- >Just as the title says are libraries dependant?
-
- [ ... ]
-
- >or do I have to take the seperate *.c files and create my owm w/ its own *.h?
-
- There are several reasons why libraries are (compiler) dependant:
-
- - the calling sequence (i.e. the actual machine instructions generated
- to call the function/subroutine) may vary between compilers
-
- - the header files on the machine used to generate the library may not
- match the header files on the machine where you use the library.
-
- So it's better to use the same compiler AND an identical machine when
- generating the library.
-
- Happy linking,
-
- Josef
- --
- Josef Moellers work: mollers.pad@sni.de
- home: josef@firefox.pb.owl.de
-